package com.woniu.apartment.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.ruoyi.common.core.domain.BaseEntity;

import java.io.Serializable;

/**
 * 房型图片对象 tb_apart_layout_image
 *
 * @author yy
 * @date 2023-04-03
 */
@ApiModel(value = "ApartLayoutImage", description = "房型图片")
public class ApartLayoutImage implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** 房型照片表主键 */
    @ApiModelProperty("房型照片表主键")
    private Long id;

    /** 房型照片url */
    @Excel(name = "房型照片url")
    @ApiModelProperty("房型照片url")
    private String imageUrl;

    /** 图片类型：1-海报大图 2-其他图片 */
    @Excel(name = "图片类型：1-海报大图 2-其他图片")
    @ApiModelProperty("图片类型：1-海报大图 2-其他图片")
    private Long imageType;

    /** 房型id */
    @Excel(name = "房型id")
    @ApiModelProperty("房型id")
    private Long apartLayoutId;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setImageUrl(String imageUrl)
    {
        this.imageUrl = imageUrl;
    }

    public String getImageUrl()
    {
        return imageUrl;
    }
    public void setImageType(Long imageType)
    {
        this.imageType = imageType;
    }

    public Long getImageType()
    {
        return imageType;
    }
    public void setApartLayoutId(Long apartLayoutId)
    {
        this.apartLayoutId = apartLayoutId;
    }

    public Long getApartLayoutId()
    {
        return apartLayoutId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("imageUrl", getImageUrl())
            .append("imageType", getImageType())
            .append("apartLayoutId", getApartLayoutId())
            .toString();
    }
}
